package com.tmt.im.common.enums;

import com.tmt.springboot.common.annotation._EnumDescriptor;
import lombok.Getter;

import java.util.List;

/**
 * 定义系统默认用户
 * @Description TODO
 * @Author wuyi
 * @Date 2024/7/31 10:46
 * @Version 1.0
 **/
@Getter
public enum IMUserEnum {

    @_EnumDescriptor(name = "系统管理员", value = "系统管理员", note = "系统管理员具备系统所有权限")
    IM_ADMIN(List.of(IMRoleEnum.IM_ROLE_ADMIN));

    private final List<IMRoleEnum> roles;

    IMUserEnum(List<IMRoleEnum> roles) {
        this.roles = roles;
    }

}
